package org.mars.rover.navigation.data;


public class Location {

	private int x = 0;
	private int y = 0;
	private String orientation = "";
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public String getOrientation() {
		return orientation;
	}
	public void setOrientation(String orientation) {
		this.orientation = orientation;
	}
	public Location(int x, int y, String orientation) {
		super();
		this.x = x;
		this.y = y;
		this.orientation = orientation;
	}
	public Location(Location initalLocation) {
		this.orientation = initalLocation.orientation;
		this.x = initalLocation.x;
		this.y = initalLocation.y;
	}
	@Override
	public String toString() {
		return "Location [orientation=" + orientation + ", x=" + x + ", y=" + y
				+ "]";
	}
	
	
}
